[INFO] fetching crate fg 0.1.4...
[INFO] building fg-0.1.4 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate fg 0.1.4 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate fg 0.1.4 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fg 0.1.4
[INFO] finished tweaking crates.io crate fg 0.1.4
[INFO] tweaked toml for crates.io crate fg 0.1.4 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate crates.io crate fg 0.1.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c40afded7a21d7ecf6f3397604b49be5135787f21c4f5acc2cc845961de057b7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c40afded7a21d7ecf6f3397604b49be5135787f21c4f5acc2cc845961de057b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c40afded7a21d7ecf6f3397604b49be5135787f21c4f5acc2cc845961de057b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c40afded7a21d7ecf6f3397604b49be5135787f21c4f5acc2cc845961de057b7", kill_on_drop: false }`
[INFO] [stdout] c40afded7a21d7ecf6f3397604b49be5135787f21c4f5acc2cc845961de057b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 853cbe3cf3cd03a3da6cdabe5f3fb98e5785aaeb6a87983913f0314d8c4175db
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "853cbe3cf3cd03a3da6cdabe5f3fb98e5785aaeb6a87983913f0314d8c4175db", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling fg v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 12 |     fn __ctype_b_loc() -> *mut *const libc::c_ushort;
[INFO] [stdout]    |     ------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 14 |     fn __errno_location() -> *mut libc::c_int;
[INFO] [stdout]    |     ------------------------------------------ not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 16 | /     fn glob(__pattern: *const libc::c_char, __flags: libc::c_int,
[INFO] [stdout] 17 | |             __errfunc:
[INFO] [stdout] 18 | |                 Option<unsafe extern "C" fn(_: *const libc::c_char,
[INFO] [stdout] 19 | |                                             _: libc::c_int) -> libc::c_int>,
[INFO] [stdout] 20 | |             __pglob: *mut glob_t) -> libc::c_int;
[INFO] [stdout]    | |_________________________________________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 22 |     fn globfree(__pglob: *mut glob_t);
[INFO] [stdout]    |     ---------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 24 | /     fn signal(__sig: libc::c_int, __handler: __sighandler_t)
[INFO] [stdout] 25 | |      -> __sighandler_t;
[INFO] [stdout]    | |_______________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 27 |     fn kill(__pid: __pid_t, __sig: libc::c_int) -> libc::c_int;
[INFO] [stdout]    |     ----------------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 29 |     fn fflush(__stream: *mut FILE) -> libc::c_int;
[INFO] [stdout]    |     ---------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 31 | /     fn fopen(__filename: *const libc::c_char, __modes: *const libc::c_char)
[INFO] [stdout] 32 | |      -> *mut FILE;
[INFO] [stdout]    | |__________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 34 |     fn fprintf(_: *mut FILE, _: *const libc::c_char, _: ...) -> libc::c_int;
[INFO] [stdout]    |     ------------------------------------------------------------------------ not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 36 |     fn printf(_: *const libc::c_char, _: ...) -> libc::c_int;
[INFO] [stdout]    |     --------------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 38 |     static mut stdin: *mut _IO_FILE;
[INFO] [stdout]    |     -------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 40 |     static mut stdout: *mut _IO_FILE;
[INFO] [stdout]    |     --------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 42 |     static mut stderr: *mut _IO_FILE;
[INFO] [stdout]    |     --------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 44 | /     fn fgets(__s: *mut libc::c_char, __n: libc::c_int, __stream: *mut FILE)
[INFO] [stdout] 45 | |      -> *mut libc::c_char;
[INFO] [stdout]    | |__________________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 47 |     fn perror(__s: *const libc::c_char);
[INFO] [stdout]    |     ------------------------------------ not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 49 |     fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |     ------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 51 |     fn calloc(_: libc::c_ulong, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |     ------------------------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 53 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |     ------------------------------------------------------------------------ not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 55 |     fn free(__ptr: *mut libc::c_void);
[INFO] [stdout]    |     ---------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 57 |     fn exit(_: libc::c_int) -> !;
[INFO] [stdout]    |     ----------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 59 | /     fn strtod(__nptr: *const libc::c_char, __endptr: *mut *mut libc::c_char)
[INFO] [stdout] 60 | |      -> libc::c_double;
[INFO] [stdout]    | |_______________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 62 |     fn getenv(__name: *const libc::c_char) -> *mut libc::c_char;
[INFO] [stdout]    |     ------------------------------------------------------------ not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 64 | /     fn memcpy(_: *mut libc::c_void, _: *const libc::c_void, _: libc::c_ulong)
[INFO] [stdout] 65 | |      -> *mut libc::c_void;
[INFO] [stdout]    | |__________________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 67 | /     fn strcpy(_: *mut libc::c_char, _: *const libc::c_char)
[INFO] [stdout] 68 | |      -> *mut libc::c_char;
[INFO] [stdout]    | |__________________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 70 | /     fn strncpy(_: *mut libc::c_char, _: *const libc::c_char, _: libc::c_ulong)
[INFO] [stdout] 71 | |      -> *mut libc::c_char;
[INFO] [stdout]    | |__________________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 73 |     fn strcmp(_: *const libc::c_char, _: *const libc::c_char) -> libc::c_int;
[INFO] [stdout]    |     ------------------------------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 75 |     fn strlen(_: *const libc::c_char) -> libc::c_ulong;
[INFO] [stdout]    |     --------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 77 |     fn strerror(_: libc::c_int) -> *mut libc::c_char;
[INFO] [stdout]    |     ------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 79 | /     fn waitpid(__pid: __pid_t, __stat_loc: *mut libc::c_int,
[INFO] [stdout] 80 | |                __options: libc::c_int) -> __pid_t;
[INFO] [stdout]    | |__________________________________________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 82 |     fn close(__fd: libc::c_int) -> libc::c_int;
[INFO] [stdout]    |     ------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 84 |     fn pipe(__pipedes: *mut libc::c_int) -> libc::c_int;
[INFO] [stdout]    |     ---------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 86 |     fn chdir(__path: *const libc::c_char) -> libc::c_int;
[INFO] [stdout]    |     ----------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 88 |     fn getcwd(__buf: *mut libc::c_char, __size: size_t) -> *mut libc::c_char;
[INFO] [stdout]    |     ------------------------------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 89 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 90 |     fn dup2(__fd: libc::c_int, __fd2: libc::c_int) -> libc::c_int;
[INFO] [stdout]    |     -------------------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 92 | /     fn execvp(__file: *const libc::c_char, __argv: *const *mut libc::c_char)
[INFO] [stdout] 93 | |      -> libc::c_int;
[INFO] [stdout]    | |____________________- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 95 |     fn getpid() -> __pid_t;
[INFO] [stdout]    |     ----------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 96 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 97 |     fn setpgid(__pid: __pid_t, __pgid: __pid_t) -> libc::c_int;
[INFO] [stdout]    |     ----------------------------------------------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]   --> src/main.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     #[no_mangle]
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 99 |     fn fork() -> __pid_t;
[INFO] [stdout]    |     --------------------- not a function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a function or static
[INFO] [stdout]    --> src/main.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     #[no_mangle]
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 101 |     fn tcsetpgrp(__fd: libc::c_int, __pgrp_id: __pid_t) -> libc::c_int;
[INFO] [stdout]     |     ------------------------------------------------------------------- not a function or static
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut i8` in the current scope
[INFO] [stdout]    --> src/main.rs:529:50
[INFO] [stdout]     |
[INFO] [stdout] 529 |                         (*commandPtr).offset(src.wrapping_offset_from(*commandPtr)
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]     = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wrapping_offset_from` found for raw pointer `*mut i8` in the current scope
[INFO] [stdout]    --> src/main.rs:552:27
[INFO] [stdout]     |
[INFO] [stdout] 552 |             returnCommand.wrapping_offset_from(*commandPtr) as libc::c_long as
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `wrapping_offset`
[INFO] [stdout]     |
[INFO] [stdout]     = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref
[INFO] [stdout]     = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 39 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fg`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "853cbe3cf3cd03a3da6cdabe5f3fb98e5785aaeb6a87983913f0314d8c4175db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "853cbe3cf3cd03a3da6cdabe5f3fb98e5785aaeb6a87983913f0314d8c4175db", kill_on_drop: false }`
[INFO] [stdout] 853cbe3cf3cd03a3da6cdabe5f3fb98e5785aaeb6a87983913f0314d8c4175db
